package com.hejjon.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hejjon.core.domain.entity.FeaturePublishCategory;
import com.hejjon.domain.request.FeaturePublishCategoryRequest;
import com.hejjon.domain.vo.FeaturePublishCategoryVO;

import java.util.List;


public interface IFeaturePublishCategoryService extends IService<FeaturePublishCategory> {


    /**
     * 新增类目
     * @param request
     * @return
     */
    boolean add(FeaturePublishCategoryRequest request);


    boolean removeById(String id);

    /**
     * 查分类树
     */
    List<FeaturePublishCategoryVO> listCategoryTree(FeaturePublishCategoryRequest request);





}
